package com.ruoyi.ctcx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * 保险风控合同对象 tb_insurance_risk_contract
 * 
 * @author ruoyi
 * @date 2024-11-19
 */
public class TbInsuranceRiskContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 所属保险id */
    @Excel(name = "所属保险id")
    private Long insureId;

    /** 所属保险合同id */
    @Excel(name = "所属保险合同id")
    private Long contractId;

    /** 风控及技术服务金额 */
    @Excel(name = "风控及技术服务金额")
    private BigDecimal riskAmount;

    /** 风控及技术服务金额 */
    @Excel(name = "风控及技术服务金额计划")
    private BigDecimal riskAmountPlan;

    /** 风控及技术服务金额 */
    @Excel(name = "风控及技术服务金额已收")
    private BigDecimal riskAmountReal;

    private List<TbInsuranceAttachment> tbInsuranceAttachmentList;


    /** $column.columnComment */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInsureId(Long insureId)
    {
        this.insureId = insureId;
    }

    public Long getInsureId()
    {
        return insureId;
    }
    public void setContractId(Long contractId)
    {
        this.contractId = contractId;
    }

    public Long getContractId()
    {
        return contractId;
    }
    public void setRiskAmount(BigDecimal riskAmount)
    {
        this.riskAmount = riskAmount;
    }

    public BigDecimal getRiskAmount()
    {
        return riskAmount;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<TbInsuranceAttachment> getTbInsuranceAttachmentList() {
        return tbInsuranceAttachmentList;
    }

    public void setTbInsuranceAttachmentList(List<TbInsuranceAttachment> tbInsuranceAttachmentList) {
        this.tbInsuranceAttachmentList = tbInsuranceAttachmentList;
    }

    public BigDecimal getRiskAmountPlan() {
        return riskAmountPlan;
    }

    public void setRiskAmountPlan(BigDecimal riskAmountPlan) {
        this.riskAmountPlan = riskAmountPlan;
    }

    public BigDecimal getRiskAmountReal() {
        return riskAmountReal;
    }

    public void setRiskAmountReal(BigDecimal riskAmountReal) {
        this.riskAmountReal = riskAmountReal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("insureId", getInsureId())
            .append("contractId", getContractId())
            .append("riskAmount", getRiskAmount())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
